// part 'part_ui_config.g.dart';

enum AuthUIStyle { fullScreen, bottomSheet, alert }

class NavConfig {
  const NavConfig({
    this.navIsHidden,
    this.navTitle,
    this.navTitleColor,
    this.navTitleSize,
    this.navFrameOffsetX,
    this.navFrameOffsetY,
    this.navColor,
    this.hideNavBackItem,
    this.navBackImage,
    this.navBackButtonOffsetX,
    this.navBackButtonOffsetY,
  });

  final bool? navIsHidden;
  final String? navTitle;
  final String? navTitleColor;
  final int? navTitleSize;
  final double? navFrameOffsetX;
  final double? navFrameOffsetY;
  final String? navColor;
  final bool? hideNavBackItem;
  final String? navBackImage;
  final double? navBackButtonOffsetX;
  final double? navBackButtonOffsetY;

  Map<String, dynamic> toJson() => _$NavConfigToJson(this);
}

/// alert title bar 设置，仅弹窗生效
class AlertTitleBarConfig {
  const AlertTitleBarConfig({
    this.alertBarIsHidden,
    this.alertCloseItemIsHidden,
    this.alertTitleBarColor,
    this.alertTitleText,
    this.alertTitleTextColor,
    this.alertTittleTextSize,
    this.alertCloseImage,
    this.alertCloseImageOffsetY,
    this.alertCloseImageOffsetX,
  });

  final bool? alertBarIsHidden;
  final bool? alertCloseItemIsHidden;
  final String? alertTitleBarColor;

  final String? alertTitleText;
  final String? alertTitleTextColor;
  final int? alertTittleTextSize;

  final String? alertCloseImage;
  final double? alertCloseImageOffsetX;
  final double? alertCloseImageOffsetY;

  Map<String, dynamic> toJson() => _$AlertTitleBarConfigToJson(this);
}

/// logo设置
class LogoConfig {
  const LogoConfig({
    this.logoIsHidden = false,
    this.logoImage,
    this.logoWidth,
    this.logoHeight,
    this.logoFrameOffsetX,
    this.logoFrameOffsetY,
  });

  final bool logoIsHidden;
  final String? logoImage;
  final double? logoWidth;
  final double? logoHeight;
  final double? logoFrameOffsetX;
  final double? logoFrameOffsetY;

  Map<String, dynamic> toJson() => _$LogoConfigToJson(this);

  @override
  String toString() {
    return 'LogoConfig{logoIsHidden: $logoIsHidden, logoImage: $logoImage, logoWidth: $logoWidth, logoHeight: $logoHeight, logoFrameOffsetX: $logoFrameOffsetX, logoFrameOffsetY: $logoFrameOffsetY}';
  }
}

/// slogan设置
class SloganConfig {
  const SloganConfig({
    this.sloganIsHidden,
    this.sloganText,
    this.sloganTextColor,
    this.sloganTextSize,
    this.sloganFrameOffsetX,
    this.sloganFrameOffsetY,
  });

  final bool? sloganIsHidden;
  final String? sloganText;
  final String? sloganTextColor;
  final int? sloganTextSize;
  final double? sloganFrameOffsetX;
  final double? sloganFrameOffsetY;

  Map<String, dynamic> toJson() => _$SloganConfigToJson(this);

  @override
  String toString() {
    return 'SloganConfig{sloganIsHidden: $sloganIsHidden, sloganText: $sloganText, sloganTextColor: $sloganTextColor, sloganTextSize: $sloganTextSize, sloganFrameOffsetX: $sloganFrameOffsetX, sloganFrameOffsetY: $sloganFrameOffsetY}';
  }
}

/// phone number设置
class PhoneNumberConfig {
  const PhoneNumberConfig({
    this.numberColor,
    this.numberFontSize,
    this.numberFrameOffsetX,
    this.numberFrameOffsetY,
  });

  final String? numberColor;
  final int? numberFontSize;
  final double? numberFrameOffsetX;
  final double? numberFrameOffsetY;

  Map<String, dynamic> toJson() => _$PhoneNumberConfigToJson(this);

  @override
  String toString() {
    return 'PhoneNumberConfig{numberColor: $numberColor, numberFontSize: $numberFontSize, numberFrameOffsetX: $numberFrameOffsetX, numberFrameOffsetY: $numberFrameOffsetY}';
  }
}

/// login button设置
class LoginButtonConfig {
  const LoginButtonConfig({
    this.loginBtnText,
    this.loginBtnTextColor,
    this.loginBtnTextSize,
    this.loginBtnNormalImage,
    this.loginBtnUnableImage,
    this.loginBtnPressedImage,
    this.loginBtnFrameOffsetX,
    this.loginBtnFrameOffsetY,
    this.loginBtnWidth,
    this.loginBtnHeight,
  });

  final String? loginBtnText;
  final String? loginBtnTextColor;
  final int? loginBtnTextSize;

  /// 激活状态的图片
  final String? loginBtnNormalImage;

  /// 失效状态的图片
  final String? loginBtnUnableImage;

  /// 高亮状态的图片
  final String? loginBtnPressedImage;

  final double? loginBtnFrameOffsetX;
  final double? loginBtnFrameOffsetY;

  final double? loginBtnWidth;

  /// 默认高度50.0pt 小于20.0pt不生效
  final double? loginBtnHeight;

  Map<String, dynamic> toJson() => _$LoginButtonConfigToJson(this);

  @override
  String toString() {
    return 'LoginButtonConfig{loginBtnText: $loginBtnText, loginBtnTextColor: $loginBtnTextColor, loginBtnTextSize: $loginBtnTextSize, loginBtnNormalImage: $loginBtnNormalImage, loginBtnUnableImage: $loginBtnUnableImage, loginBtnPressedImage: $loginBtnPressedImage, loginBtnFrameOffsetX: $loginBtnFrameOffsetX, loginBtnFrameOffsetY: $loginBtnFrameOffsetY, loginBtnWidth: $loginBtnWidth, loginBtnHeight: $loginBtnHeight}';
  }
}

/// change button 设置
class ChangeButtonConfig {
  const ChangeButtonConfig({
    this.changeBtnIsHidden,
    this.changeBtnTitle,
    this.changeBtnTextColor,
    this.changeBtnTextSize,
    this.changeBtnFrameOffsetX,
    this.changeBtnFrameOffsetY,
  });

  final bool? changeBtnIsHidden;
  final String? changeBtnTitle;
  final String? changeBtnTextColor;
  final int? changeBtnTextSize;
  final double? changeBtnFrameOffsetX;
  final double? changeBtnFrameOffsetY;

  Map<String, dynamic> toJson() => _$ChangeButtonConfigToJson(this);

  @override
  String toString() {
    return 'ChangeButtonConfig{changeBtnIsHidden: $changeBtnIsHidden, changeBtnTitle: $changeBtnTitle, changeBtnTextColor: $changeBtnTextColor, changeBtnTextSize: $changeBtnTextSize, changeBtnFrameOffsetX: $changeBtnFrameOffsetX, changeBtnFrameOffsetY: $changeBtnFrameOffsetY}';
  }
}

/// check box 设置
class CheckBoxConfig {
  const CheckBoxConfig({
    this.checkBoxIsChecked,
    this.checkBoxIsHidden,
    this.checkedImage,
    this.uncheckImage,
    this.checkBoxWH,
  });

  final bool? checkBoxIsChecked;
  final bool? checkBoxIsHidden;
  final String? checkedImage;
  final String? uncheckImage;
  final double? checkBoxWH;

  Map<String, dynamic> toJson() => _$CheckBoxConfigToJson(this);

  @override
  String toString() {
    return 'CheckBoxConfig{checkBoxIsChecked: $checkBoxIsChecked, checkBoxIsHidden: $checkBoxIsHidden, checkedImage: $checkedImage, uncheckImage: $uncheckImage, checkBoxWH: $checkBoxWH}';
  }
}

class PrivacyConfig {
  const PrivacyConfig({
    this.privacyOneName,
    this.privacyOneUrl,
    this.privacyConnectTexts,
    this.privacyFontColor,
    this.privacyFontSize,
    this.privacyFrameOffsetX,
    this.privacyFrameOffsetY,
    this.privacyOperatorIndex,
    this.privacyOperatorPreText,
    this.privacyOperatorSufText,
    this.privacyPreText,
    this.privacySufText,
    this.privacyThreeName,
    this.privacyThreeUrl,
    this.privacyTwoName,
    this.privacyTwoUrl,
  });

  final String? privacyOneName;
  final String? privacyOneUrl;
  final String? privacyTwoName;
  final String? privacyTwoUrl;
  final String? privacyThreeName;
  final String? privacyThreeUrl;
  final int? privacyFontSize;
  final String? privacyFontColor;
  final double? privacyFrameOffsetX;
  final double? privacyFrameOffsetY;

  /// 协议名称之间连接字符串数组，默认 [和, 、, 、] ，即第一个为「和」，其他为「、」，
  /// 按顺序读取，为空则取默认 [和, 和]
  final String? privacyConnectTexts;

  /// 协议文案支持居中、居左、居右设置，默认居左
  final String? privacyPreText;
  final String? privacySufText;

  ///协议整体文案，后缀部分文案
  final String? privacyOperatorPreText;

  ///协议整体文案，后缀部分文案
  final String? privacyOperatorSufText;

  /// 运营商协议指定显示顺序，默认0，即第1个协议显示，最大值可为3，即第4个协议显示
  final int? privacyOperatorIndex;

  Map<String, dynamic> toJson() => _$PrivacyConfigToJson(this);

  @override
  String toString() {
    return 'PrivacyConfig{privacyOneName: $privacyOneName, privacyOneUrl: $privacyOneUrl, privacyTwoName: $privacyTwoName, privacyTwoUrl: $privacyTwoUrl, privacyThreeName: $privacyThreeName, privacyThreeUrl: $privacyThreeUrl, privacyFontSize: $privacyFontSize, privacyFontColor: $privacyFontColor, privacyFrameOffsetX: $privacyFrameOffsetX, privacyFrameOffsetY: $privacyFrameOffsetY, privacyConnectTexts: $privacyConnectTexts, privacyPreText: $privacyPreText, privacySufText: $privacySufText, privacyOperatorPreText: $privacyOperatorPreText, privacyOperatorSufText: $privacyOperatorSufText, privacyOperatorIndex: $privacyOperatorIndex}';
  }
}

class CustomViewBlock {
  const CustomViewBlock({
    required this.viewId,
    required this.offsetX,
    required this.offsetY,
    required this.width,
    required this.height,
    required this.enableTap,
    this.text,
    this.textColor,
    this.textSize,
    this.backgroundColor,
    this.image,
  });

  /// 用于回调时候判断返回的 id 判断
  final int viewId;
  final String? text;
  final String? textColor;
  final double? textSize;
  final String? backgroundColor;
  final String? image;
  final double offsetX;
  final double offsetY;
  final double width;
  final double height;
  final bool enableTap;

  Map<String, dynamic> toJson() => _$CustomViewBlockToJson(this);

  @override
  String toString() {
    return 'CustomViewBlock{viewId: $viewId, text: $text, textColor: $textColor, textSize: $textSize, backgroundColor: $backgroundColor, image: $image, offsetX: $offsetX, offsetY: $offsetY, width: $width, height: $height, enableTap: $enableTap}';
  }
}

abstract class _$NavConfigCWProxy {
  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// NavConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  NavConfig call({
    bool? hideNavBackItem,
    double? navBackButtonOffsetX,
    double? navBackButtonOffsetY,
    String? navBackImage,
    String? navColor,
    double? navFrameOffsetX,
    double? navFrameOffsetY,
    bool? navIsHidden,
    String? navTitle,
    String? navTitleColor,
    int? navTitleSize,
  });
}

/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfNavConfig.copyWith(...)`.
class _$NavConfigCWProxyImpl implements _$NavConfigCWProxy {
  const _$NavConfigCWProxyImpl(this._value);
  final NavConfig _value;

  @override

  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// NavConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  NavConfig call({
    Object? hideNavBackItem = const $CopyWithPlaceholder(),
    Object? navBackButtonOffsetX = const $CopyWithPlaceholder(),
    Object? navBackButtonOffsetY = const $CopyWithPlaceholder(),
    Object? navBackImage = const $CopyWithPlaceholder(),
    Object? navColor = const $CopyWithPlaceholder(),
    Object? navFrameOffsetX = const $CopyWithPlaceholder(),
    Object? navFrameOffsetY = const $CopyWithPlaceholder(),
    Object? navIsHidden = const $CopyWithPlaceholder(),
    Object? navTitle = const $CopyWithPlaceholder(),
    Object? navTitleColor = const $CopyWithPlaceholder(),
    Object? navTitleSize = const $CopyWithPlaceholder(),
  }) {
    return NavConfig(
      hideNavBackItem: hideNavBackItem == const $CopyWithPlaceholder()
          ? _value.hideNavBackItem
          // ignore: cast_nullable_to_non_nullable
          : hideNavBackItem as bool?,
      navBackButtonOffsetX: navBackButtonOffsetX == const $CopyWithPlaceholder()
          ? _value.navBackButtonOffsetX
          // ignore: cast_nullable_to_non_nullable
          : navBackButtonOffsetX as double?,
      navBackButtonOffsetY: navBackButtonOffsetY == const $CopyWithPlaceholder()
          ? _value.navBackButtonOffsetY
          // ignore: cast_nullable_to_non_nullable
          : navBackButtonOffsetY as double?,
      navBackImage: navBackImage == const $CopyWithPlaceholder()
          ? _value.navBackImage
          // ignore: cast_nullable_to_non_nullable
          : navBackImage as String?,
      navColor: navColor == const $CopyWithPlaceholder()
          ? _value.navColor
          // ignore: cast_nullable_to_non_nullable
          : navColor as String?,
      navFrameOffsetX: navFrameOffsetX == const $CopyWithPlaceholder()
          ? _value.navFrameOffsetX
          // ignore: cast_nullable_to_non_nullable
          : navFrameOffsetX as double?,
      navFrameOffsetY: navFrameOffsetY == const $CopyWithPlaceholder()
          ? _value.navFrameOffsetY
          // ignore: cast_nullable_to_non_nullable
          : navFrameOffsetY as double?,
      navIsHidden: navIsHidden == const $CopyWithPlaceholder()
          ? _value.navIsHidden
          // ignore: cast_nullable_to_non_nullable
          : navIsHidden as bool?,
      navTitle: navTitle == const $CopyWithPlaceholder()
          ? _value.navTitle
          // ignore: cast_nullable_to_non_nullable
          : navTitle as String?,
      navTitleColor: navTitleColor == const $CopyWithPlaceholder()
          ? _value.navTitleColor
          // ignore: cast_nullable_to_non_nullable
          : navTitleColor as String?,
      navTitleSize: navTitleSize == const $CopyWithPlaceholder()
          ? _value.navTitleSize
          // ignore: cast_nullable_to_non_nullable
          : navTitleSize as int?,
    );
  }
}

extension $NavConfigCopyWith on NavConfig {
  /// Returns a callable class that can be used as follows: `instanceOfNavConfig.copyWith(...)`.
  // ignore: library_private_types_in_public_api
  _$NavConfigCWProxy get copyWith => _$NavConfigCWProxyImpl(this);
}

abstract class _$AlertTitleBarConfigCWProxy {
  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// AlertTitleBarConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  AlertTitleBarConfig call({
    bool? alertBarIsHidden,
    String? alertCloseImage,
    double? alertCloseImageOffsetX,
    double? alertCloseImageOffsetY,
    bool? alertCloseItemIsHidden,
    String? alertTitleBarColor,
    String? alertTitleText,
    String? alertTitleTextColor,
    int? alertTittleTextSize,
  });
}

/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfAlertTitleBarConfig.copyWith(...)`.
class _$AlertTitleBarConfigCWProxyImpl implements _$AlertTitleBarConfigCWProxy {
  const _$AlertTitleBarConfigCWProxyImpl(this._value);
  final AlertTitleBarConfig _value;

  @override

  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// AlertTitleBarConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  AlertTitleBarConfig call({
    Object? alertBarIsHidden = const $CopyWithPlaceholder(),
    Object? alertCloseImage = const $CopyWithPlaceholder(),
    Object? alertCloseImageOffsetX = const $CopyWithPlaceholder(),
    Object? alertCloseImageOffsetY = const $CopyWithPlaceholder(),
    Object? alertCloseItemIsHidden = const $CopyWithPlaceholder(),
    Object? alertTitleBarColor = const $CopyWithPlaceholder(),
    Object? alertTitleText = const $CopyWithPlaceholder(),
    Object? alertTitleTextColor = const $CopyWithPlaceholder(),
    Object? alertTittleTextSize = const $CopyWithPlaceholder(),
  }) {
    return AlertTitleBarConfig(
      alertBarIsHidden: alertBarIsHidden == const $CopyWithPlaceholder()
          ? _value.alertBarIsHidden
          // ignore: cast_nullable_to_non_nullable
          : alertBarIsHidden as bool?,
      alertCloseImage: alertCloseImage == const $CopyWithPlaceholder()
          ? _value.alertCloseImage
          // ignore: cast_nullable_to_non_nullable
          : alertCloseImage as String?,
      alertCloseImageOffsetX:
          alertCloseImageOffsetX == const $CopyWithPlaceholder()
              ? _value.alertCloseImageOffsetX
              // ignore: cast_nullable_to_non_nullable
              : alertCloseImageOffsetX as double?,
      alertCloseImageOffsetY:
          alertCloseImageOffsetY == const $CopyWithPlaceholder()
              ? _value.alertCloseImageOffsetY
              // ignore: cast_nullable_to_non_nullable
              : alertCloseImageOffsetY as double?,
      alertCloseItemIsHidden:
          alertCloseItemIsHidden == const $CopyWithPlaceholder()
              ? _value.alertCloseItemIsHidden
              // ignore: cast_nullable_to_non_nullable
              : alertCloseItemIsHidden as bool?,
      alertTitleBarColor: alertTitleBarColor == const $CopyWithPlaceholder()
          ? _value.alertTitleBarColor
          // ignore: cast_nullable_to_non_nullable
          : alertTitleBarColor as String?,
      alertTitleText: alertTitleText == const $CopyWithPlaceholder()
          ? _value.alertTitleText
          // ignore: cast_nullable_to_non_nullable
          : alertTitleText as String?,
      alertTitleTextColor: alertTitleTextColor == const $CopyWithPlaceholder()
          ? _value.alertTitleTextColor
          // ignore: cast_nullable_to_non_nullable
          : alertTitleTextColor as String?,
      alertTittleTextSize: alertTittleTextSize == const $CopyWithPlaceholder()
          ? _value.alertTittleTextSize
          // ignore: cast_nullable_to_non_nullable
          : alertTittleTextSize as int?,
    );
  }
}

extension $AlertTitleBarConfigCopyWith on AlertTitleBarConfig {
  /// Returns a callable class that can be used as follows: `instanceOfAlertTitleBarConfig.copyWith(...)`.
  // ignore: library_private_types_in_public_api
  _$AlertTitleBarConfigCWProxy get copyWith =>
      _$AlertTitleBarConfigCWProxyImpl(this);
}

abstract class _$LogoConfigCWProxy {
  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// LogoConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  LogoConfig call({
    double? logoFrameOffsetX,
    double? logoFrameOffsetY,
    double? logoHeight,
    String? logoImage,
    bool? logoIsHidden,
    double? logoWidth,
  });
}

/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfLogoConfig.copyWith(...)`.
class _$LogoConfigCWProxyImpl implements _$LogoConfigCWProxy {
  const _$LogoConfigCWProxyImpl(this._value);
  final LogoConfig _value;

  @override

  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// LogoConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  LogoConfig call({
    Object? logoFrameOffsetX = const $CopyWithPlaceholder(),
    Object? logoFrameOffsetY = const $CopyWithPlaceholder(),
    Object? logoHeight = const $CopyWithPlaceholder(),
    Object? logoImage = const $CopyWithPlaceholder(),
    Object? logoIsHidden = const $CopyWithPlaceholder(),
    Object? logoWidth = const $CopyWithPlaceholder(),
  }) {
    return LogoConfig(
      logoFrameOffsetX: logoFrameOffsetX == const $CopyWithPlaceholder()
          ? _value.logoFrameOffsetX
          // ignore: cast_nullable_to_non_nullable
          : logoFrameOffsetX as double?,
      logoFrameOffsetY: logoFrameOffsetY == const $CopyWithPlaceholder()
          ? _value.logoFrameOffsetY
          // ignore: cast_nullable_to_non_nullable
          : logoFrameOffsetY as double?,
      logoHeight: logoHeight == const $CopyWithPlaceholder()
          ? _value.logoHeight
          // ignore: cast_nullable_to_non_nullable
          : logoHeight as double?,
      logoImage: logoImage == const $CopyWithPlaceholder()
          ? _value.logoImage
          // ignore: cast_nullable_to_non_nullable
          : logoImage as String?,
      logoIsHidden: logoIsHidden == const $CopyWithPlaceholder()
          ? _value.logoIsHidden
          : logoIsHidden as bool,
      logoWidth: logoWidth == const $CopyWithPlaceholder()
          ? _value.logoWidth
          // ignore: cast_nullable_to_non_nullable
          : logoWidth as double?,
    );
  }
}

extension $LogoConfigCopyWith on LogoConfig {
  /// Returns a callable class that can be used as follows: `instanceOfLogoConfig.copyWith(...)`.
  // ignore: library_private_types_in_public_api
  _$LogoConfigCWProxy get copyWith => _$LogoConfigCWProxyImpl(this);
}

abstract class _$SloganConfigCWProxy {
  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// SloganConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  SloganConfig call({
    double? sloganFrameOffsetX,
    double? sloganFrameOffsetY,
    bool? sloganIsHidden,
    String? sloganText,
    String? sloganTextColor,
    int? sloganTextSize,
  });
}

/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfSloganConfig.copyWith(...)`.
class _$SloganConfigCWProxyImpl implements _$SloganConfigCWProxy {
  const _$SloganConfigCWProxyImpl(this._value);
  final SloganConfig _value;

  @override

  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// SloganConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  SloganConfig call({
    Object? sloganFrameOffsetX = const $CopyWithPlaceholder(),
    Object? sloganFrameOffsetY = const $CopyWithPlaceholder(),
    Object? sloganIsHidden = const $CopyWithPlaceholder(),
    Object? sloganText = const $CopyWithPlaceholder(),
    Object? sloganTextColor = const $CopyWithPlaceholder(),
    Object? sloganTextSize = const $CopyWithPlaceholder(),
  }) {
    return SloganConfig(
      sloganFrameOffsetX: sloganFrameOffsetX == const $CopyWithPlaceholder()
          ? _value.sloganFrameOffsetX
          // ignore: cast_nullable_to_non_nullable
          : sloganFrameOffsetX as double?,
      sloganFrameOffsetY: sloganFrameOffsetY == const $CopyWithPlaceholder()
          ? _value.sloganFrameOffsetY
          // ignore: cast_nullable_to_non_nullable
          : sloganFrameOffsetY as double?,
      sloganIsHidden: sloganIsHidden == const $CopyWithPlaceholder()
          ? _value.sloganIsHidden
          // ignore: cast_nullable_to_non_nullable
          : sloganIsHidden as bool?,
      sloganText: sloganText == const $CopyWithPlaceholder()
          ? _value.sloganText
          // ignore: cast_nullable_to_non_nullable
          : sloganText as String?,
      sloganTextColor: sloganTextColor == const $CopyWithPlaceholder()
          ? _value.sloganTextColor
          // ignore: cast_nullable_to_non_nullable
          : sloganTextColor as String?,
      sloganTextSize: sloganTextSize == const $CopyWithPlaceholder()
          ? _value.sloganTextSize
          // ignore: cast_nullable_to_non_nullable
          : sloganTextSize as int?,
    );
  }
}

extension $SloganConfigCopyWith on SloganConfig {
  /// Returns a callable class that can be used as follows: `instanceOfSloganConfig.copyWith(...)`.
  // ignore: library_private_types_in_public_api
  _$SloganConfigCWProxy get copyWith => _$SloganConfigCWProxyImpl(this);
}

abstract class _$PhoneNumberConfigCWProxy {
  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// PhoneNumberConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  PhoneNumberConfig call({
    String? numberColor,
    int? numberFontSize,
    double? numberFrameOffsetX,
    double? numberFrameOffsetY,
  });
}

/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfPhoneNumberConfig.copyWith(...)`.
class _$PhoneNumberConfigCWProxyImpl implements _$PhoneNumberConfigCWProxy {
  const _$PhoneNumberConfigCWProxyImpl(this._value);
  final PhoneNumberConfig _value;

  @override

  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// PhoneNumberConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  PhoneNumberConfig call({
    Object? numberColor = const $CopyWithPlaceholder(),
    Object? numberFontSize = const $CopyWithPlaceholder(),
    Object? numberFrameOffsetX = const $CopyWithPlaceholder(),
    Object? numberFrameOffsetY = const $CopyWithPlaceholder(),
  }) {
    return PhoneNumberConfig(
      numberColor: numberColor == const $CopyWithPlaceholder()
          ? _value.numberColor
          // ignore: cast_nullable_to_non_nullable
          : numberColor as String?,
      numberFontSize: numberFontSize == const $CopyWithPlaceholder()
          ? _value.numberFontSize
          // ignore: cast_nullable_to_non_nullable
          : numberFontSize as int?,
      numberFrameOffsetX: numberFrameOffsetX == const $CopyWithPlaceholder()
          ? _value.numberFrameOffsetX
          // ignore: cast_nullable_to_non_nullable
          : numberFrameOffsetX as double?,
      numberFrameOffsetY: numberFrameOffsetY == const $CopyWithPlaceholder()
          ? _value.numberFrameOffsetY
          // ignore: cast_nullable_to_non_nullable
          : numberFrameOffsetY as double?,
    );
  }
}

extension $PhoneNumberConfigCopyWith on PhoneNumberConfig {
  /// Returns a callable class that can be used as follows: `instanceOfPhoneNumberConfig.copyWith(...)`.
  // ignore: library_private_types_in_public_api
  _$PhoneNumberConfigCWProxy get copyWith =>
      _$PhoneNumberConfigCWProxyImpl(this);
}

abstract class _$LoginButtonConfigCWProxy {
  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// LoginButtonConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  LoginButtonConfig call({
    double? loginBtnFrameOffsetX,
    double? loginBtnFrameOffsetY,
    double? loginBtnHeight,
    String? loginBtnNormalImage,
    String? loginBtnPressedImage,
    String? loginBtnText,
    String? loginBtnTextColor,
    int? loginBtnTextSize,
    String? loginBtnUnableImage,
    double? loginBtnWidth,
  });
}

/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfLoginButtonConfig.copyWith(...)`.
class _$LoginButtonConfigCWProxyImpl implements _$LoginButtonConfigCWProxy {
  const _$LoginButtonConfigCWProxyImpl(this._value);
  final LoginButtonConfig _value;

  @override

  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// LoginButtonConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  LoginButtonConfig call({
    Object? loginBtnFrameOffsetX = const $CopyWithPlaceholder(),
    Object? loginBtnFrameOffsetY = const $CopyWithPlaceholder(),
    Object? loginBtnHeight = const $CopyWithPlaceholder(),
    Object? loginBtnNormalImage = const $CopyWithPlaceholder(),
    Object? loginBtnPressedImage = const $CopyWithPlaceholder(),
    Object? loginBtnText = const $CopyWithPlaceholder(),
    Object? loginBtnTextColor = const $CopyWithPlaceholder(),
    Object? loginBtnTextSize = const $CopyWithPlaceholder(),
    Object? loginBtnUnableImage = const $CopyWithPlaceholder(),
    Object? loginBtnWidth = const $CopyWithPlaceholder(),
  }) {
    return LoginButtonConfig(
      loginBtnFrameOffsetX: loginBtnFrameOffsetX == const $CopyWithPlaceholder()
          ? _value.loginBtnFrameOffsetX
          // ignore: cast_nullable_to_non_nullable
          : loginBtnFrameOffsetX as double?,
      loginBtnFrameOffsetY: loginBtnFrameOffsetY == const $CopyWithPlaceholder()
          ? _value.loginBtnFrameOffsetY
          // ignore: cast_nullable_to_non_nullable
          : loginBtnFrameOffsetY as double?,
      loginBtnHeight: loginBtnHeight == const $CopyWithPlaceholder()
          ? _value.loginBtnHeight
          // ignore: cast_nullable_to_non_nullable
          : loginBtnHeight as double?,
      loginBtnNormalImage: loginBtnNormalImage == const $CopyWithPlaceholder()
          ? _value.loginBtnNormalImage
          // ignore: cast_nullable_to_non_nullable
          : loginBtnNormalImage as String?,
      loginBtnPressedImage: loginBtnPressedImage == const $CopyWithPlaceholder()
          ? _value.loginBtnPressedImage
          // ignore: cast_nullable_to_non_nullable
          : loginBtnPressedImage as String?,
      loginBtnText: loginBtnText == const $CopyWithPlaceholder()
          ? _value.loginBtnText
          // ignore: cast_nullable_to_non_nullable
          : loginBtnText as String?,
      loginBtnTextColor: loginBtnTextColor == const $CopyWithPlaceholder()
          ? _value.loginBtnTextColor
          // ignore: cast_nullable_to_non_nullable
          : loginBtnTextColor as String?,
      loginBtnTextSize: loginBtnTextSize == const $CopyWithPlaceholder()
          ? _value.loginBtnTextSize
          // ignore: cast_nullable_to_non_nullable
          : loginBtnTextSize as int?,
      loginBtnUnableImage: loginBtnUnableImage == const $CopyWithPlaceholder()
          ? _value.loginBtnUnableImage
          // ignore: cast_nullable_to_non_nullable
          : loginBtnUnableImage as String?,
      loginBtnWidth: loginBtnWidth == const $CopyWithPlaceholder()
          ? _value.loginBtnWidth
          // ignore: cast_nullable_to_non_nullable
          : loginBtnWidth as double?,
    );
  }
}

extension $LoginButtonConfigCopyWith on LoginButtonConfig {
  /// Returns a callable class that can be used as follows: `instanceOfLoginButtonConfig.copyWith(...)`.
  // ignore: library_private_types_in_public_api
  _$LoginButtonConfigCWProxy get copyWith =>
      _$LoginButtonConfigCWProxyImpl(this);
}

abstract class _$ChangeButtonConfigCWProxy {
  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// ChangeButtonConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  ChangeButtonConfig call({
    double? changeBtnFrameOffsetX,
    double? changeBtnFrameOffsetY,
    bool? changeBtnIsHidden,
    String? changeBtnTextColor,
    int? changeBtnTextSize,
    String? changeBtnTitle,
  });
}

/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfChangeButtonConfig.copyWith(...)`.
class _$ChangeButtonConfigCWProxyImpl implements _$ChangeButtonConfigCWProxy {
  const _$ChangeButtonConfigCWProxyImpl(this._value);
  final ChangeButtonConfig _value;

  @override

  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// ChangeButtonConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  ChangeButtonConfig call({
    Object? changeBtnFrameOffsetX = const $CopyWithPlaceholder(),
    Object? changeBtnFrameOffsetY = const $CopyWithPlaceholder(),
    Object? changeBtnIsHidden = const $CopyWithPlaceholder(),
    Object? changeBtnTextColor = const $CopyWithPlaceholder(),
    Object? changeBtnTextSize = const $CopyWithPlaceholder(),
    Object? changeBtnTitle = const $CopyWithPlaceholder(),
  }) {
    return ChangeButtonConfig(
      changeBtnFrameOffsetX:
          changeBtnFrameOffsetX == const $CopyWithPlaceholder()
              ? _value.changeBtnFrameOffsetX
              // ignore: cast_nullable_to_non_nullable
              : changeBtnFrameOffsetX as double?,
      changeBtnFrameOffsetY:
          changeBtnFrameOffsetY == const $CopyWithPlaceholder()
              ? _value.changeBtnFrameOffsetY
              // ignore: cast_nullable_to_non_nullable
              : changeBtnFrameOffsetY as double?,
      changeBtnIsHidden: changeBtnIsHidden == const $CopyWithPlaceholder()
          ? _value.changeBtnIsHidden
          // ignore: cast_nullable_to_non_nullable
          : changeBtnIsHidden as bool?,
      changeBtnTextColor: changeBtnTextColor == const $CopyWithPlaceholder()
          ? _value.changeBtnTextColor
          // ignore: cast_nullable_to_non_nullable
          : changeBtnTextColor as String?,
      changeBtnTextSize: changeBtnTextSize == const $CopyWithPlaceholder()
          ? _value.changeBtnTextSize
          // ignore: cast_nullable_to_non_nullable
          : changeBtnTextSize as int?,
      changeBtnTitle: changeBtnTitle == const $CopyWithPlaceholder()
          ? _value.changeBtnTitle
          // ignore: cast_nullable_to_non_nullable
          : changeBtnTitle as String?,
    );
  }
}

extension $ChangeButtonConfigCopyWith on ChangeButtonConfig {
  /// Returns a callable class that can be used as follows: `instanceOfChangeButtonConfig.copyWith(...)`.
  // ignore: library_private_types_in_public_api
  _$ChangeButtonConfigCWProxy get copyWith =>
      _$ChangeButtonConfigCWProxyImpl(this);
}

abstract class _$CheckBoxConfigCWProxy {
  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// CheckBoxConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  CheckBoxConfig call({
    bool? checkBoxIsChecked,
    bool? checkBoxIsHidden,
    double? checkBoxWH,
    String? checkedImage,
    String? uncheckImage,
  });
}

/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfCheckBoxConfig.copyWith(...)`.
class _$CheckBoxConfigCWProxyImpl implements _$CheckBoxConfigCWProxy {
  const _$CheckBoxConfigCWProxyImpl(this._value);
  final CheckBoxConfig _value;

  @override

  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// CheckBoxConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  CheckBoxConfig call({
    Object? checkBoxIsChecked = const $CopyWithPlaceholder(),
    Object? checkBoxIsHidden = const $CopyWithPlaceholder(),
    Object? checkBoxWH = const $CopyWithPlaceholder(),
    Object? checkedImage = const $CopyWithPlaceholder(),
    Object? uncheckImage = const $CopyWithPlaceholder(),
  }) {
    return CheckBoxConfig(
      checkBoxIsChecked: checkBoxIsChecked == const $CopyWithPlaceholder()
          ? _value.checkBoxIsChecked
          // ignore: cast_nullable_to_non_nullable
          : checkBoxIsChecked as bool?,
      checkBoxIsHidden: checkBoxIsHidden == const $CopyWithPlaceholder()
          ? _value.checkBoxIsHidden
          // ignore: cast_nullable_to_non_nullable
          : checkBoxIsHidden as bool?,
      checkBoxWH: checkBoxWH == const $CopyWithPlaceholder()
          ? _value.checkBoxWH
          // ignore: cast_nullable_to_non_nullable
          : checkBoxWH as double?,
      checkedImage: checkedImage == const $CopyWithPlaceholder()
          ? _value.checkedImage
          // ignore: cast_nullable_to_non_nullable
          : checkedImage as String?,
      uncheckImage: uncheckImage == const $CopyWithPlaceholder()
          ? _value.uncheckImage
          // ignore: cast_nullable_to_non_nullable
          : uncheckImage as String?,
    );
  }
}

extension $CheckBoxConfigCopyWith on CheckBoxConfig {
  /// Returns a callable class that can be used as follows: `instanceOfCheckBoxConfig.copyWith(...)`.
  // ignore: library_private_types_in_public_api
  _$CheckBoxConfigCWProxy get copyWith => _$CheckBoxConfigCWProxyImpl(this);
}

abstract class _$PrivacyConfigCWProxy {
  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// PrivacyConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  PrivacyConfig call({
    String? privacyConnectTexts,
    String? privacyFontColor,
    int? privacyFontSize,
    double? privacyFrameOffsetX,
    double? privacyFrameOffsetY,
    String? privacyOneName,
    String? privacyOneUrl,
    int? privacyOperatorIndex,
    String? privacyOperatorPreText,
    String? privacyOperatorSufText,
    String? privacyPreText,
    String? privacySufText,
    String? privacyThreeName,
    String? privacyThreeUrl,
    String? privacyTwoName,
    String? privacyTwoUrl,
  });
}

/// Proxy class for `copyWith` functionality. This is a callable class and can be used as follows: `instanceOfPrivacyConfig.copyWith(...)`.
class _$PrivacyConfigCWProxyImpl implements _$PrivacyConfigCWProxy {
  const _$PrivacyConfigCWProxyImpl(this._value);
  final PrivacyConfig _value;

  @override

  /// This function **does support** nullification of nullable fields. All `null` values passed to `non-nullable` fields will be ignored.
  ///
  /// Usage
  /// ```dart
  /// PrivacyConfig(...).copyWith(id: 12, name: "My name")
  /// ````
  PrivacyConfig call({
    Object? privacyConnectTexts = const $CopyWithPlaceholder(),
    Object? privacyFontColor = const $CopyWithPlaceholder(),
    Object? privacyFontSize = const $CopyWithPlaceholder(),
    Object? privacyFrameOffsetX = const $CopyWithPlaceholder(),
    Object? privacyFrameOffsetY = const $CopyWithPlaceholder(),
    Object? privacyOneName = const $CopyWithPlaceholder(),
    Object? privacyOneUrl = const $CopyWithPlaceholder(),
    Object? privacyOperatorIndex = const $CopyWithPlaceholder(),
    Object? privacyOperatorPreText = const $CopyWithPlaceholder(),
    Object? privacyOperatorSufText = const $CopyWithPlaceholder(),
    Object? privacyPreText = const $CopyWithPlaceholder(),
    Object? privacySufText = const $CopyWithPlaceholder(),
    Object? privacyThreeName = const $CopyWithPlaceholder(),
    Object? privacyThreeUrl = const $CopyWithPlaceholder(),
    Object? privacyTwoName = const $CopyWithPlaceholder(),
    Object? privacyTwoUrl = const $CopyWithPlaceholder(),
  }) {
    return PrivacyConfig(
      privacyConnectTexts: privacyConnectTexts == const $CopyWithPlaceholder()
          ? _value.privacyConnectTexts
          // ignore: cast_nullable_to_non_nullable
          : privacyConnectTexts as String?,
      privacyFontColor: privacyFontColor == const $CopyWithPlaceholder()
          ? _value.privacyFontColor
          // ignore: cast_nullable_to_non_nullable
          : privacyFontColor as String?,
      privacyFontSize: privacyFontSize == const $CopyWithPlaceholder()
          ? _value.privacyFontSize
          // ignore: cast_nullable_to_non_nullable
          : privacyFontSize as int?,
      privacyFrameOffsetX: privacyFrameOffsetX == const $CopyWithPlaceholder()
          ? _value.privacyFrameOffsetX
          // ignore: cast_nullable_to_non_nullable
          : privacyFrameOffsetX as double?,
      privacyFrameOffsetY: privacyFrameOffsetY == const $CopyWithPlaceholder()
          ? _value.privacyFrameOffsetY
          // ignore: cast_nullable_to_non_nullable
          : privacyFrameOffsetY as double?,
      privacyOneName: privacyOneName == const $CopyWithPlaceholder()
          ? _value.privacyOneName
          // ignore: cast_nullable_to_non_nullable
          : privacyOneName as String?,
      privacyOneUrl: privacyOneUrl == const $CopyWithPlaceholder()
          ? _value.privacyOneUrl
          // ignore: cast_nullable_to_non_nullable
          : privacyOneUrl as String?,
      privacyOperatorIndex: privacyOperatorIndex == const $CopyWithPlaceholder()
          ? _value.privacyOperatorIndex
          // ignore: cast_nullable_to_non_nullable
          : privacyOperatorIndex as int?,
      privacyOperatorPreText:
          privacyOperatorPreText == const $CopyWithPlaceholder()
              ? _value.privacyOperatorPreText
              // ignore: cast_nullable_to_non_nullable
              : privacyOperatorPreText as String?,
      privacyOperatorSufText:
          privacyOperatorSufText == const $CopyWithPlaceholder()
              ? _value.privacyOperatorSufText
              // ignore: cast_nullable_to_non_nullable
              : privacyOperatorSufText as String?,
      privacyPreText: privacyPreText == const $CopyWithPlaceholder()
          ? _value.privacyPreText
          // ignore: cast_nullable_to_non_nullable
          : privacyPreText as String?,
      privacySufText: privacySufText == const $CopyWithPlaceholder()
          ? _value.privacySufText
          // ignore: cast_nullable_to_non_nullable
          : privacySufText as String?,
      privacyThreeName: privacyThreeName == const $CopyWithPlaceholder()
          ? _value.privacyThreeName
          // ignore: cast_nullable_to_non_nullable
          : privacyThreeName as String?,
      privacyThreeUrl: privacyThreeUrl == const $CopyWithPlaceholder()
          ? _value.privacyThreeUrl
          // ignore: cast_nullable_to_non_nullable
          : privacyThreeUrl as String?,
      privacyTwoName: privacyTwoName == const $CopyWithPlaceholder()
          ? _value.privacyTwoName
          // ignore: cast_nullable_to_non_nullable
          : privacyTwoName as String?,
      privacyTwoUrl: privacyTwoUrl == const $CopyWithPlaceholder()
          ? _value.privacyTwoUrl
          // ignore: cast_nullable_to_non_nullable
          : privacyTwoUrl as String?,
    );
  }
}

extension $PrivacyConfigCopyWith on PrivacyConfig {
  /// Returns a callable class that can be used as follows: `instanceOfPrivacyConfig.copyWith(...)`.
  // ignore: library_private_types_in_public_api
  _$PrivacyConfigCWProxy get copyWith => _$PrivacyConfigCWProxyImpl(this);
}

// **************************************************************************
// JsonSerializableGenerator
// **************************************************************************

Map<String, dynamic> _$NavConfigToJson(NavConfig instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('navIsHidden', instance.navIsHidden);
  writeNotNull('navTitle', instance.navTitle);
  writeNotNull('navTitleColor', instance.navTitleColor);
  writeNotNull('navTitleSize', instance.navTitleSize);
  writeNotNull('navFrameOffsetX', instance.navFrameOffsetX);
  writeNotNull('navFrameOffsetY', instance.navFrameOffsetY);
  writeNotNull('navColor', instance.navColor);
  writeNotNull('hideNavBackItem', instance.hideNavBackItem);
  writeNotNull('navBackImage', instance.navBackImage);
  writeNotNull('navBackButtonOffsetX', instance.navBackButtonOffsetX);
  writeNotNull('navBackButtonOffsetY', instance.navBackButtonOffsetY);
  return val;
}

Map<String, dynamic> _$AlertTitleBarConfigToJson(AlertTitleBarConfig instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('alertBarIsHidden', instance.alertBarIsHidden);
  writeNotNull('alertCloseItemIsHidden', instance.alertCloseItemIsHidden);
  writeNotNull('alertTitleBarColor', instance.alertTitleBarColor);
  writeNotNull('alertTitleText', instance.alertTitleText);
  writeNotNull('alertTitleTextColor', instance.alertTitleTextColor);
  writeNotNull('alertTittleTextSize', instance.alertTittleTextSize);
  writeNotNull('alertCloseImage', instance.alertCloseImage);
  writeNotNull('alertCloseImageOffsetX', instance.alertCloseImageOffsetX);
  writeNotNull('alertCloseImageOffsetY', instance.alertCloseImageOffsetY);
  return val;
}

Map<String, dynamic> _$LogoConfigToJson(LogoConfig instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('logoIsHidden', instance.logoIsHidden);
  writeNotNull('logoImage', instance.logoImage);
  writeNotNull('logoWidth', instance.logoWidth);
  writeNotNull('logoHeight', instance.logoHeight);
  writeNotNull('logoFrameOffsetX', instance.logoFrameOffsetX);
  writeNotNull('logoFrameOffsetY', instance.logoFrameOffsetY);
  return val;
}

Map<String, dynamic> _$SloganConfigToJson(SloganConfig instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('sloganIsHidden', instance.sloganIsHidden);
  writeNotNull('sloganText', instance.sloganText);
  writeNotNull('sloganTextColor', instance.sloganTextColor);
  writeNotNull('sloganTextSize', instance.sloganTextSize);
  writeNotNull('sloganFrameOffsetX', instance.sloganFrameOffsetX);
  writeNotNull('sloganFrameOffsetY', instance.sloganFrameOffsetY);
  return val;
}

Map<String, dynamic> _$PhoneNumberConfigToJson(PhoneNumberConfig instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('numberColor', instance.numberColor);
  writeNotNull('numberFontSize', instance.numberFontSize);
  writeNotNull('numberFrameOffsetX', instance.numberFrameOffsetX);
  writeNotNull('numberFrameOffsetY', instance.numberFrameOffsetY);
  return val;
}

Map<String, dynamic> _$LoginButtonConfigToJson(LoginButtonConfig instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('loginBtnText', instance.loginBtnText);
  writeNotNull('loginBtnTextColor', instance.loginBtnTextColor);
  writeNotNull('loginBtnTextSize', instance.loginBtnTextSize);
  writeNotNull('loginBtnNormalImage', instance.loginBtnNormalImage);
  writeNotNull('loginBtnUnableImage', instance.loginBtnUnableImage);
  writeNotNull('loginBtnPressedImage', instance.loginBtnPressedImage);
  writeNotNull('loginBtnFrameOffsetX', instance.loginBtnFrameOffsetX);
  writeNotNull('loginBtnFrameOffsetY', instance.loginBtnFrameOffsetY);
  writeNotNull('loginBtnWidth', instance.loginBtnWidth);
  writeNotNull('loginBtnHeight', instance.loginBtnHeight);
  return val;
}

Map<String, dynamic> _$ChangeButtonConfigToJson(ChangeButtonConfig instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('changeBtnIsHidden', instance.changeBtnIsHidden);
  writeNotNull('changeBtnTitle', instance.changeBtnTitle);
  writeNotNull('changeBtnTextColor', instance.changeBtnTextColor);
  writeNotNull('changeBtnTextSize', instance.changeBtnTextSize);
  writeNotNull('changeBtnFrameOffsetX', instance.changeBtnFrameOffsetX);
  writeNotNull('changeBtnFrameOffsetY', instance.changeBtnFrameOffsetY);
  return val;
}

Map<String, dynamic> _$CheckBoxConfigToJson(CheckBoxConfig instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('checkBoxIsChecked', instance.checkBoxIsChecked);
  writeNotNull('checkBoxIsHidden', instance.checkBoxIsHidden);
  writeNotNull('checkedImage', instance.checkedImage);
  writeNotNull('uncheckImage', instance.uncheckImage);
  writeNotNull('checkBoxWH', instance.checkBoxWH);
  return val;
}

Map<String, dynamic> _$PrivacyConfigToJson(PrivacyConfig instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('privacyOneName', instance.privacyOneName);
  writeNotNull('privacyOneUrl', instance.privacyOneUrl);
  writeNotNull('privacyTwoName', instance.privacyTwoName);
  writeNotNull('privacyTwoUrl', instance.privacyTwoUrl);
  writeNotNull('privacyThreeName', instance.privacyThreeName);
  writeNotNull('privacyThreeUrl', instance.privacyThreeUrl);
  writeNotNull('privacyFontSize', instance.privacyFontSize);
  writeNotNull('privacyFontColor', instance.privacyFontColor);
  writeNotNull('privacyFrameOffsetX', instance.privacyFrameOffsetX);
  writeNotNull('privacyFrameOffsetY', instance.privacyFrameOffsetY);
  writeNotNull('privacyConnectTexts', instance.privacyConnectTexts);
  writeNotNull('privacyPreText', instance.privacyPreText);
  writeNotNull('privacySufText', instance.privacySufText);
  writeNotNull('privacyOperatorPreText', instance.privacyOperatorPreText);
  writeNotNull('privacyOperatorSufText', instance.privacyOperatorSufText);
  writeNotNull('privacyOperatorIndex', instance.privacyOperatorIndex);
  return val;
}

Map<String, dynamic> _$CustomViewBlockToJson(CustomViewBlock instance) {
  final val = <String, dynamic>{};

  void writeNotNull(String key, dynamic value) {
    if (value != null) {
      val[key] = value;
    }
  }

  writeNotNull('viewId', instance.viewId);
  writeNotNull('text', instance.text);
  writeNotNull('textColor', instance.textColor);
  writeNotNull('textSize', instance.textSize);
  writeNotNull('backgroundColor', instance.backgroundColor);
  writeNotNull('image', instance.image);
  writeNotNull('offsetX', instance.offsetX);
  writeNotNull('offsetY', instance.offsetY);
  writeNotNull('width', instance.width);
  writeNotNull('height', instance.height);
  writeNotNull('enableTap', instance.enableTap);
  return val;
}

/// This placeholder object is a default value for nullable fields to handle cases when the user wants to nullify the value.
class $CopyWithPlaceholder {
  const $CopyWithPlaceholder();
}
